<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglibs.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<s:if test="@org.springside.modules.security.springsecurity.SpringSecurityUtils@getCurrentUserName() == 'anonymousUser'">
		<s:include value="/admin/login.jsp" />
</s:if> <s:else>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>静态信息编辑</title>
<style type="text/css">
.main_content{
  margin: 15px;
  border: 1px solid #ccc;
  padding: 35px;
}
.main_content .position_title{
  border-bottom: 4px solid #ccc;
  margin-bottom: 20px;
}
.main_content h4{
  width: 130px;
  padding:0 0 10px 20px;
  border-bottom: 4px solid #0066cc;
  margin-bottom: -4px;
  background: url(${ctx }/images/body_edit_icon_p.png) no-repeat;
  background-position: 0 3px\9;
  border-bottom: none\9;
}
.main_content .position_content{
  border: 1px solid #ccc;
  padding: 10px;
  word-wrap: break-word;
}
.main_content .edit{
  float: right;
  display: inline-block;
  margin-top:17px;
  width: 83px;
  text-indent: -9999px;
  height:34px;
  background: url(${ctx }/images/body_button_edit_p.png) no-repeat;
}
.main_content .edit:hover{
  background: url(${ctx }/images/body_button_edit_active_p.png) no-repeat;
}
</style>
<link href="${ctx }/css/public.css" rel="stylesheet" type="text/css" />
   <%-- <link href="${ctx }/uploadify-v2.1.0/uploadify.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="${ctx }/uploadify-v2.1.0/jquery-1.3.2.min.js"></script>
        <script type="text/javascript" src="${ctx }/uploadify-v2.1.0/swfobject.js"></script>
        <script type="text/javascript" src="${ctx }/uploadify-v2.1.0/jquery.uploadify.v2.1.0.js"></script>
        <script type="text/javascript">
        $(document).ready(function() {
            $("#uploadify").uploadify({
                'uploader'       : '${ctx }/uploadify-v2.1.0/uploadify.swf', 
                'script'         : '${ctx }/admin/application-for-member-ship-admin!save.action',
                 'cancelImg'      : '${ctx }/uploadify-v2.1.0/cancel.png', 
                'folder'         : 'upload',
                'queueID'        : 'fileQueue',
                'auto'           :  true,
                'multi'          :  false,
                'fileDataName'   : 'pictruepath', 
                'scriptData'    : {'id':document.getElementById('id').value},
                'sizeLimit'      : 10*1024*1024,
                'buttonText'     : '点击上传新附件',
                'onComplete' : function(event, queueID, fileObj, response, data) {  
                //$("#result").html(response);//显示上传成功结果  
                //setInterval("showResult()", 2000);//两秒后删除显示的上传成功结果  
                window.location.href="${ctx }/admin/application-for-member-ship-admin!show.action"//上传成功后跳转，并传递参数  
            }  
                 ,
                 onError          : function(event, queueID, fileObj){ 
                   alert("文件:" + fileObj.name + " 上传失败，文件不可大于10M");}  
            });
        }); --%>
        </script>
</head>

<body>
	<div class="main">
		<div class="tip">
      <span>所在位置 :</span>
      <span class="current_position">入会申请内容展示</span> 
    </div>
    <div class="main_content clearfix">
      <div class="position_title"><h4>入会申请内容展示</h4></div>
      <div class="position_content" >


               ${entity.introduction}
 
      </div>
      		<div>
      		<%-- <input type="hidden" name="id" value="${entity.id}" id="id"/>
      		<span style="font-size:20px;">附件名称：</span>
      		<span style="font-size:20px;">${entity.filename}</span>
      		</div>
           <div id="fileQueue"></div>
        <input type="file" name="uploadify" id="uploadify"  /> --%>
      
      <a  href="${ctx }/admin/application-for-member-ship-admin!show1.action" target="mainFrame" class="edit">编辑</a>
    </div>
	</div>
  <script type="text/javascript" src="${ctx }/js/public.js"></script>
</body>
</html>
</s:else>